/**
 * ChatView.vue - ChatGPT聊天页面
 */

<script setup>
import ChatGPT from '@/components/ChatGPT.vue';
</script>

<template>
  <div class="chat-view">
    <el-row justify="center">
      <el-col :span="24" style="height: 100%;">
        <h1 class="text-center">Chatgpt.AI Chat</h1>
        <ChatGPT />
      </el-col>
    </el-row>
  </div>
  
</template>

<style lang="scss" scoped>
.chat-view {
  padding: 5px  10px;
  height: calc(100vh - 100px); /* 减去头部和底部的高度 */

  .el-row{
    height: 100%;
  }

  h1{
      margin: 0 0 0px;
      color: #409eff !important;
      font-size: 24px;
      text-align: left;
    }
}
.text-center {
  text-align: center;
  margin-bottom: 10px;
  padding:10px 10px 0;
  margin: 0 auto;
   font-size: 1em;
   color: #003366;
}
</style>
